package com.ruoyi.project.syl_LiBiao.domain;

import java.math.BigDecimal;
import java.util.Objects;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 outpatient_prescription
 * 处方表
 * @author ruoyi
 * @date 2021-07-14
 */
public class OutpatientPrescription extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 处方单号
 */
    @Excel(name = "处方单号 ")
    private String prescriptionId;

    /** 挂号单号
     */
    @Excel(name = "挂号单号 ")
    private String registerId;

    /** 病例编号
 */
    @Excel(name = "病例编号 ")
    private String caseId;

    /** 药用处方
 */
    @Excel(name = "药用处方 ")
    private String medicine;

    /** 药品单位
 */
    @Excel(name = "药品单位 ")
    private String medicineUnitl;

    /** 药品数量
 */
    @Excel(name = "药品数量 ")
    private Integer medicineNum;

    /** 药品单价
 */
    @Excel(name = "药品单价 ")
    private BigDecimal medicinePrice;


    /** 服用备注
 */
    @Excel(name = "服用备注 ")
    private String medicineNotes;

    /** 药品支付状态 0未支付 1已支付 */
    @Excel(name = "药品支付状态 0未支付 1已支付")
    private String status;

    /** 检查项目
 */
    @Excel(name = "检查项目 ")
    private String checkk;

    /** 检查单位
 */
    @Excel(name = "检查单位 ")
    private String checkUnit;

    /** 检查金额
 */
    @Excel(name = "检查金额 ")
    private BigDecimal checkPrice;

    /** 检查备注
 */
    @Excel(name = "检查备注 ")
    private String checkNotes;

    /** 检查支付状态 0未支付 1已支付 */
    @Excel(name = "检查支付状态 0未支付 1已支付")
    private String checkPayStatus;

    @Override
    public String toString() {
        return "OutpatientPrescription{" +
                "prescriptionId='" + prescriptionId + '\'' +
                ", registerId='" + registerId + '\'' +
                ", caseId='" + caseId + '\'' +
                ", medicine='" + medicine + '\'' +
                ", medicineUnitl='" + medicineUnitl + '\'' +
                ", medicineNum=" + medicineNum +
                ", medicinePrice=" + medicinePrice +
                ", medicineNotes='" + medicineNotes + '\'' +
                ", status='" + status + '\'' +
                ", check='" + checkk + '\'' +
                ", checkUnit='" + checkUnit + '\'' +
                ", checkPrice=" + checkPrice +
                ", checkNotes='" + checkNotes + '\'' +
                ", checkPayStatus='" + checkPayStatus + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof OutpatientPrescription)) return false;
        OutpatientPrescription that = (OutpatientPrescription) o;
        return Objects.equals(prescriptionId, that.prescriptionId) &&
                Objects.equals(registerId, that.registerId) &&
                Objects.equals(caseId, that.caseId) &&
                Objects.equals(medicine, that.medicine) &&
                Objects.equals(medicineUnitl, that.medicineUnitl) &&
                Objects.equals(medicineNum, that.medicineNum) &&
                Objects.equals(medicinePrice, that.medicinePrice) &&
                Objects.equals(medicineNotes, that.medicineNotes) &&
                Objects.equals(status, that.status) &&
                Objects.equals(checkk, that.checkk) &&
                Objects.equals(checkUnit, that.checkUnit) &&
                Objects.equals(checkPrice, that.checkPrice) &&
                Objects.equals(checkNotes, that.checkNotes) &&
                Objects.equals(checkPayStatus, that.checkPayStatus);
    }

    @Override
    public int hashCode() {
        return Objects.hash(prescriptionId, registerId, caseId, medicine, medicineUnitl, medicineNum, medicinePrice, medicineNotes, status, checkk, checkUnit, checkPrice, checkNotes, checkPayStatus);
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getPrescriptionId() {
        return prescriptionId;
    }

    public void setPrescriptionId(String prescriptionId) {
        this.prescriptionId = prescriptionId;
    }

    public String getRegisterId() {
        return registerId;
    }

    public void setRegisterId(String registerId) {
        this.registerId = registerId;
    }

    public String getCaseId() {
        return caseId;
    }

    public void setCaseId(String caseId) {
        this.caseId = caseId;
    }

    public String getMedicine() {
        return medicine;
    }

    public void setMedicine(String medicine) {
        this.medicine = medicine;
    }

    public String getMedicineUnitl() {
        return medicineUnitl;
    }

    public void setMedicineUnitl(String medicineUnitl) {
        this.medicineUnitl = medicineUnitl;
    }

    public Integer getMedicineNum() {
        return medicineNum;
    }

    public void setMedicineNum(Integer medicineNum) {
        this.medicineNum = medicineNum;
    }

    public BigDecimal getMedicinePrice() {
        return medicinePrice;
    }

    public void setMedicinePrice(BigDecimal medicinePrice) {
        this.medicinePrice = medicinePrice;
    }

    public String getMedicineNotes() {
        return medicineNotes;
    }

    public void setMedicineNotes(String medicineNotes) {
        this.medicineNotes = medicineNotes;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCheck() {
        return checkk;
    }

    public void setCheck(String check) {
        this.checkk = check;
    }

    public String getCheckUnit() {
        return checkUnit;
    }

    public void setCheckUnit(String checkUnit) {
        this.checkUnit = checkUnit;
    }

    public BigDecimal getCheckPrice() {
        return checkPrice;
    }

    public void setCheckPrice(BigDecimal checkPrice) {
        this.checkPrice = checkPrice;
    }

    public String getCheckNotes() {
        return checkNotes;
    }

    public void setCheckNotes(String checkNotes) {
        this.checkNotes = checkNotes;
    }

    public String getCheckPayStatus() {
        return checkPayStatus;
    }

    public void setCheckPayStatus(String checkPayStatus) {
        this.checkPayStatus = checkPayStatus;
    }

    public OutpatientPrescription(String prescriptionId, String registerId, String caseId, String medicine, String medicineUnitl, Integer medicineNum, BigDecimal medicinePrice, String medicineNotes, String status, String check, String checkUnit, BigDecimal checkPrice, String checkNotes, String checkPayStatus) {
        this.prescriptionId = prescriptionId;
        this.registerId = registerId;
        this.caseId = caseId;
        this.medicine = medicine;
        this.medicineUnitl = medicineUnitl;
        this.medicineNum = medicineNum;
        this.medicinePrice = medicinePrice;
        this.medicineNotes = medicineNotes;
        this.status = status;
        this.checkk = check;
        this.checkUnit = checkUnit;
        this.checkPrice = checkPrice;
        this.checkNotes = checkNotes;
        this.checkPayStatus = checkPayStatus;
    }

    public OutpatientPrescription() {
    }
}
